package base.day06;

import java.util.Scanner;

public class Study6 {
    public static void main(String[] args) {
        //手动输入姓名，自动添加到数组中
        String[] student_name = new String[50];
        for (int i = 1; i < 50; i++) {
            Scanner sc = new Scanner(System.in);
            System.out.println("请输入第" + i + "学生姓名：");
            String name = sc.next();
            student_name[i] = name;
        }
    }
}
